/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.circle.entity;

import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 圈子帖子评论Entity
 * @author 罗天文
 * @version 2018-08-03
 */
public class HkMediaCirclePostsComment extends DataEntity<HkMediaCirclePostsComment> {
	
	private static final long serialVersionUID = 1L;
	private HkUser user;		// 用户
	private HkMediaCirclePosts post;		// 帖子
	private String content;		// 内容
	private String state;		// 状态
	private String isreport;		// 是否举报
	private String praiseCount;		// 点赞数
	
	public HkMediaCirclePostsComment() {
		super();
	}

	public HkMediaCirclePostsComment(String id){
		super(id);
	}

	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}

	public HkMediaCirclePosts getPost() {
		return post;
	}

	public void setPost(HkMediaCirclePosts post) {
		this.post = post;
	}

	@Length(min=0, max=200, message="内容长度必须介于 0 和 200 之间")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@Length(min=0, max=11, message="是否举报长度必须介于 0 和 11 之间")
	public String getIsreport() {
		return isreport;
	}

	public void setIsreport(String isreport) {
		this.isreport = isreport;
	}
	
	@Length(min=0, max=11, message="点赞数长度必须介于 0 和 11 之间")
	public String getPraiseCount() {
		return praiseCount;
	}

	public void setPraiseCount(String praiseCount) {
		this.praiseCount = praiseCount;
	}
	
}